package com.zhuangjie.coupon.lock;

/**
 * 优惠券批次申请锁
 *
 * @author zhuangjie
 * @date 2024/03/04
 */
public class CouponBatchLock {
    /**
     * 获取优惠券批次操作锁
     *
     * @param couponBatchId 优惠券批次id
     * @return {@link String}
     */
    public static String getCouponBatchOperationLock(Long couponBatchId) {
        return "lock::coupon-batch::operation::"+couponBatchId;
    }
}
